using Vin.Tool.Core.BasicTypeCategory;
using Vin.Tool.Core.EnumCategory;

namespace Vin.Extension.Notify.QiyeWechat.Models;

public class MarkdownMsgModel : BaseMsgModel
{
    public class MarkdownContent
    {
        /// <summary>
        /// markdown内容
        /// </summary>
        public string Content { get; set; }

        public MarkdownContent(string content)
        {
            Content = content;
        }
    }

    /// <summary>
    /// markdown内容
    /// </summary>
    public MarkdownContent Markdown { get; set; }

    public MarkdownMsgModel(MarkdownContent markdown) : base(MsgType.Markdown.GetName().ToUnderLine()!)
    {
        Markdown = markdown;
    }
}